<template>
  <div class="tableDrawer">
    <a-drawer
      :title="title"
      placement="right"
      :visible="visibleDrawer"
      :maskClosable="false"
      @close="onClose"
      :width="800"
    >
      <div class="content">
          <slot></slot>
      </div>
    </a-drawer>
  </div>
</template>

<script>
export default {
  name: 'tableDrawer',
  props: ['title', 'visibleDrawer'],
  data() {
    return {
       
    }
  },
  methods: {
    onClose() {
      this.$emit('onClose',false)
    }
  },

}
</script>

<style lang="less" scoped>
</style>
